kernel-bench: seed sm90/sm100 ground truth (bootstrap for sglang#28138)#21
Open
BBuf wants to merge 2 commits into
Open
kernel-bench: seed sm90/sm100 ground truth (bootstrap for sglang#28138)#21BBuf wants to merge 2 commits into
BBuf wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Seeds the kernel-benchmark regression ground truth under
kernel-bench/so the per-PR gate in sgl-project/sglang#28138 ([CI] Kernel benchmark regression gate) has a baseline to pull and compare against. This is the one-time bootstrap that the nightlynightly-kernel-bench-gt.ymlworkflow will take over once #28138 lands onmain(the workflow can'tworkflow_dispatchuntil it's on the default branch).kernel-bench/sm90.json— generated on NVIDIA H100 80GB HBM3 (sm90 / cc 9.0)kernel-bench/sm100.json— generated on NVIDIA B200 (sm100 / cc 10.0)Provenance
feat/kernel-bench-regression-ci@cf8dbf44d9(PR #28138, freshly rebased on main).python3 -m kernel_bench_regression generate --repeat 5 --commit cf8dbf44d9.sgl_kernel, sm90 builtsgl_kernelfrom the PR branch (the container's preinstalled 0.4.2.post1 predates the newdsv4_fused_q_norm_ropeop).Coverage / known gaps
sm90: 13 cases, 34/37 real measurements.cutlass_mla_decodecorrectly auto-skipped (sm100-only).sm100: 14 cases, 30/40 real measurements.cutlass_mla_decoderan.Two cases recorded
null(the harness records null and continues; the gate skips null baseline entries). These are pre-existing issues in #28138's bench wiring / kernels, not in the GT pipeline, and are called out on the PR for follow-up:fp8_gemm— null on both SKUs.bench_fp8_gemm.pypasses a per-token scale(M,)/(N,)into the static per-tensor-quant path, which asserts a scalar{1}scale (per_tensor_quant_fp8.cuh:113) →Tensor match failed. Independent of the kernel build.per_token_group_quant_8bit— null on sm100 only (works on sm90, ~3–27us). On B200 the bench utility's profiler-table check trips on a largeFillFunctor+ "Command Buffer Full" rows.These null entries are harmless for the gate (skipped), and can be backfilled by the nightly once the two bench issues are fixed in #28138.
Companion to sgl-project/sglang#28138.